package com.firesrc.service;

import java.util.List;

import com.firesrc.bean.MailDayAmount;
import com.firesrc.bean.MailHost;

public interface MailDayAmountService {

	void add(MailDayAmount maiDayAmount);

	void put(MailDayAmount mailDayAmount);

	/**
	 * 先判断有没有数据库的今天的username的记录,如果没有就放进来,如果有的话就不用添加
	 * @param mailHost
	 */
	void put(MailHost mailHost);

	List<MailDayAmount> getAllList();

	List<MailDayAmount> getTodayList();

}
